|
|
|
| Prodejna <%
recordset.open "SELECT * FROM sekce where sekce.id="&request.querystring("id")
response.write recordset("Nazev")
recordset.close
%> | | | |
|
|
|
|
| |
<%
recordset.open "Select * from anketa;"
if recordset("on") then
anketa=true
else
anketa=false
end if
recordset.close
recordset.open "Select * from zbozi where zbozi.akce>0;"
if recordset.eof and recordset.bof then
else
pocetakci=recordset.recordcount
randomize
citace=0
if pocetakci>=3 then
citace=int(rnd*(pocetakci-3)+1)
else
citace=0
end if
kikinc=0
%>
<%end if
recordset.close
%>
<%
recordset.open "Select * from novinky order by novinky.datum desc;"
if recordset.eof and recordset.bof then
else
kikin=0
%>
<%end if
recordset.close
%><%
recordset.open "Select * from anketa;"
if recordset("on") then
application.lock
application("cervena")=recordset("cervena")
application("zluta")=recordset("zluta")
application("modra")=recordset("modra")
application.unlock
%>
<%
end if
recordset.close%>
| |